package itsm.isperp.module.entity.app;

import itsm.isperp.framework.domain.Variable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 
 * 
 * @author lizx
 * @date 2013-4-8
 */
@Entity
@Table(name = "app_variables")
public class AppVariables implements Variable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Id
	protected String id;

	@Column
	protected String masterId;

	@Column
	protected String type;

	@Column
	protected String name;

	@Column
	protected String dataType;

	@Column
	protected String value;

	@Column
	protected String meta1;

	@Column
	protected String meta2;

	public String getId() {
		return id;
	}

	public String getMasterId() {
		return masterId;
	}

	public String getType() {
		return type;
	}

	public String getName() {
		return name;
	}

	public String getDataType() {
		return dataType;
	}

	public String getValue() {
		return value;
	}

	public String getMeta1() {
		return meta1;
	}

	public String getMeta2() {
		return meta2;
	}

	public void setId(String id) {
		this.id = id;
	}

	public void setMasterId(String masterId) {
		this.masterId = masterId;
	}

	public void setType(String type) {
		this.type = type;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setDataType(String dataType) {
		this.dataType = dataType;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public void setMeta1(String meta1) {
		this.meta1 = meta1;
	}

	public void setMeta2(String meta2) {
		this.meta2 = meta2;
	}

}
